package ext;

import context.Context;
import ext.sim.Simulation;
import ext.render.Renderer;

public class Program
{
    
    public static void main(String[] args)
    {
        // INIT THE CONTEXT:
        Context c = new Context();
        
        // INIT ALL ContextThread OBJECTS:
        Renderer render = new Renderer();
        Simulation game = new Simulation(render);
        
        // ADD THE ContextThread OBJECTS TO THE CONTEXT--IN EXECUTING ORDER:
        c.addThread(game);
        c.addThread(render);
        
        // RUN THE CONTEXT:
        c.run();
    }
    
}
